package main.example;

/**
 * Created by Administrator on 2014/7/16.
 */
public class Link {
    private String ip;
    private int number;
    private boolean isConnect;

    public Link(int number) {
        this.number = number;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public boolean isConnect() {
        return isConnect;
    }

    public void setConnect(boolean isConnect) {
        this.isConnect = isConnect;
    }

    @Override
    public String toString() {
        return " number=" + number;
    }
}
